package cn.iune.erp.provider;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IFileProviderDao {
	
	public void insert(FileProvider obj);
	
	public void delete(String fID);

	public FileProvider update(FileProvider obj) ;

	public List<FileProvider> getAll();
	
	public FileProvider getByID(String fID);
	
	FileProvider getByNo(String providerNo, String enterpriseNo);

	public FileProvider getByName(String providerName, String enterpriseNo);

	public FileProvider getByLoginName(String sLoginName);


	JSONObject queryUNION(JSONObject data) throws SQLException;

	JSONObject query(JSONObject data) throws SQLException;

	JSONObject create(JSONObject data);

	List<FileProvider> getList(String enterpriseNo);

}
